FROM openjdk:8-jre-slim
MAINTAINER admin

ENV PARAMS=""

ENV COPS=""

ENV TZ=PRC

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD target/fjec-paid-*.jar /app.jar

ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS $COPS /app.jar $PARAMS"]